﻿/*
 * LdDocument
 * 
 * initial implementation : 26.6.2013
 *
 * Copyright (c) Adam Sida, asida@centrum.cz.
 * All rights reserved.
 * 
 * for license see cz.uhul.DSMLv2.txt
 */
using System;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Serialization;
using System.Collections.ObjectModel;
//using System.ServiceModel;


namespace cz.uhul.DSMLv2
{



  /// <Summary>
  /// The System.DirectoryServices.Protocols.DsmlDocument class is an abstract
  /// class to construct or manipulate a DSML document. It is the base class for
  /// both LdRequestDocument and LdResponseDocument.
  /// LdDocument supports collections and
  /// indexes. Each item in its collection is an object derived from LdOperation.
  [Serializable()]
  //[MessageContract()]
  public abstract class LdDocument //: ILdDocument
  {


    ///<Summary>
    /// The LdDocument.#ctor() constructor creates
    /// an instance of the LdDocument class.
    /// </Summary>
    protected LdDocument() { }



    //public static abstract LdDocument Parse(XmlDocument message);



    //public abstract bool TryParse(XmlDocument message, out LdDocument obj);



    //public abstract XmlDocument ToXml();



    /// <Summary>
    /// The RequestId property contains the requestID specified in the request.
    /// </Summary>
    [XmlAttribute(AttributeName = "requestID", Form = XmlSchemaForm.None)]
    public string RequestId { get; set; }



  }

}
